package ar.com.ironsoft.javaopenauth.oauth;

import java.util.Properties;
import java.util.Set;

import ar.com.ironsoft.javaopenauth.dto.OAuthToken;
import ar.com.ironsoft.javaopenauth.utils.ServletActionType;

public interface IOAuthService {

	public String getLoginURL();

	public String getAccessTokenURL();
	
	public String getRefreshTokenURL();

	public OAuthToken getAccessToken();
	
	public OAuthToken getRefreshToken();

	public void executeCallbackAction(String urlParameters);

	public OAuthToken getToken();

	public void loadClientProperties(String propertiesFileName);

	public String getControllerUrlMapping();

	public void setControllerUrlMapping(String controllerUrlMapping);

	public Set<ServletActionType> getRegisteredActions();

	public void setRegisteredActions(Set<ServletActionType> registeredActions);

	public Properties getOauthProperties();

	public void setOauthProperties(Properties oauthProperties);

	public String getApiKey();
	
	public String getConsumerKey();

	public String getConsumerSecret();

	public String getCallbackURL();

	public String getCallbackAppURL();
}
